<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>
<?php 
	$buyerAccountType = buyerAccountTypeDataConfig();
?>
<div id="center-wrap" class="ui-corner-tl ui-corner-tr">
	<div id="navigation" class="ui-corner-all"><ul><?php echo $navigator;?></ul></div>
	
	<div class="clrboth"></div>
	
	<div class="row">
		<div class="column grid_9">
			<p class="bold"> &raquo; My Account:</p>
		</div>
		<div class="clrboth"></div>
		<div class="column grid_9">
			<div class="column grid_2">Buyer Type:</div>
			<div class="column grid_6"><?php echo $buyerAccountType[$items->getBuyerType()];?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Email:</div>
			<div class="column grid_6"><?php echo $items->getEmail();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">First name:</div>
			<div class="column grid_6"><?php echo $items->getFirstName();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Last name:</div>
			<div class="column grid_6"><?php echo $items->getLastName();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Job title:</div>
			<div class="column grid_6"><?php echo $items->getJobTitle();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Company/Organization:</div>
			<div class="column grid_6"><?php echo $items->getCompany();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Company Website:</div>
			<div class="column grid_6"><a href="<?php echo $items->getCompanyUrl(); ?>"><?php echo $items->getCompanyUrl();?></a></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Company Profile:</div>
			<div class="column grid_6"><a href="<?php echo fileTarget($items->getId(),$items->getCompanyProfile()); ?>"><?php echo $items->getCompanyProfile();?></a></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Country:</div>
			<div class="column grid_6"><?php echo $items->getCountry();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Address Line 1:</div>
			<div class="column grid_6"><?php echo $items->getAddressLine1();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Address Line 2:</div>
			<div class="column grid_6"><?php echo $items->getAddressLine2();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">City:</div>
			<div class="column grid_6"><?php echo $items->getCity();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">State:</div>
			<div class="column grid_6"><?php echo $items->getState();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Zip:</div>
			<div class="column grid_6"><?php echo $items->getZip();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Workphone:</div>
			<div class="column grid_6"><?php echo $items->getWorkPhone();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Mobile:</div>
			<div class="column grid_6"><?php echo $items->getMobile();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Show Type:</div>
			<div class="column grid_6">
			<?php 
			if(($items->getShowType())){
				$array = showTypeDataConfig(); 
				$array2 = array();
				foreach(explode(',',$items->getShowType()) as $element){
					$array2[] = $array[$element];
				}
				echo implode(', ',$array2);
			}	
			?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Country of Origin:</div>
			<div class="column grid_6">
			<?php 
			if(($items->getCountryOrigin())){
				$array = countryOriginDataConfig(); 
				$array2 = array();
				foreach(explode(',',$items->getCountryOrigin()) as $element){
					$array2[] = $array[$element];
				}
				echo implode(', ',$array2);
			}	
			?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Music Genre:</div>
			<div class="column grid_6">
			<?php 
			if(($items->getMusicGenre())){
				$array = musicGenreDataConfig(); 
				$array2 = array();
				foreach(explode(',',$items->getMusicGenre()) as $element){
					$array2[] = $array[$element];
				}
				echo implode(', ',$array2);
			}	
			?></div>
			
			<div class="clrboth"></div>
			<div class="column grid_2"><b>Bank information</b></div>
			<div class="clrboth"></div>
			
			<div class="column grid_2">Name of Account:</div>
			<div class="column grid_6"><?php echo $items->getBankNameAcc();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Account No:</div>
			<div class="column grid_6"><?php echo $items->getBankAccNo();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Bank Name:</div>
			<div class="column grid_6"><?php echo $items->getBankName();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Bank Address:</div>
			<div class="column grid_6"><?php echo $items->getBankAddress();?></div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2">Swift Code:</div>
			<div class="column grid_6"><?php echo $items->getSwiftCode();?></div>
			
			<div class="clrboth"></div>
			<br/> 
			<div class="column grid_2">
				<input type="button" onclick="javascript:edit_information();" id="button_edit_info" name="button_edit_info" value="Edit Information" class="ui-corner-all button-yellow" />
			</div>
			<div class="column grid_2">
				<input type="button" onclick="javascript:change_password();" id="button_change_passwd" name="button_change_passwd" value="Change Password" class="ui-corner-all button-yellow" />
			</div>
			<div class="column grid_2">
				<input type="button" onclick="javascript:change_email();" id="button_change_email" name="button_change_email" value="Change Email Login" class="ui-corner-all button-yellow" />
			</div>
			<div class="clrboth"></div>
		</div>
	</div>
</div>
<div class="clrboth"></div>


